var t = require("../../../wxParse/wxParse.js"), a = require("../../../utils/api.js");

getApp();

Page({
    data: {
        explainList: [ {
            title: "什么事积分？",
            content: "积分是商城为回馈客户所设立的优惠活动"
        } ],
        article: ""
    },
    onLoad: function(e) {
        var r = this;
        a.getFraction_explain({
            id: 1
        }).then(function(a) {
            var e = a.data.data;
            r.setData({
                article: e
            }), t.wxParse("article", "html", r.data.article, r, 5);
        }), wx.setNavigationBarColor({
            frontColor: wx.getStorageSync("basic").topcolor,
            backgroundColor: wx.getStorageSync("basic").topbg
        });
    }
});